﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace AnimatedGifHandling
{
    public partial class AnimatedGifSaveForm : Form
    {
        public int LoopCount
        {
            get
            {
                return (int)loopCountNumericUpDown.Value;
            }
            set
            {
                loopCountNumericUpDown.Value = value;
            }
        }

        public int FrameDelay
        {
            get
            {
                return (int)delayNumericUpDown.Value;
            }
            set
            {
                delayNumericUpDown.Value = value;
            }
        }

        public AnimatedGifSaveForm()
        {
            InitializeComponent();
        }

        private void AnimatedGifSaveForm_Load(object sender, EventArgs e)
        {

        }

        private void okButton_Click(object sender, EventArgs e)
        {
            DialogResult = System.Windows.Forms.DialogResult.OK;
        }
    }
}
